﻿using System;

namespace Vibstudio.X4NET.Aggregation
{
    [Serializable]
    public class AggregateOperationResult : OperationResult, IAggregateRoot
    {
        public AggregateOperationResult(bool isPerformed, string message)
            : base(isPerformed, message)
        {
        }
    }

    [Serializable]
    public class AggregateOperationResult<T> : OperationResult<T>, IAggregateRoot
    {
        public AggregateOperationResult(bool isPerformed, string message, T output)
            : base(isPerformed, message, output)
        {
        }
    }
}
